package com.mall.product.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "商品详情")
public class ProductDetailVO implements Serializable {
    
    @Schema(description = "商品ID")
    private Long id;
    @Schema(description = "商品标题")
    private String title;
    @Schema(description = "商品副标题")
    private String subTitle;
    @Schema(description = "分类ID")
    private Long categoryId;
    @Schema(description = "价格")
    private BigDecimal price;
    @Schema(description = "原价")
    private BigDecimal originalPrice;
    @Schema(description = "库存")
    private Integer stock;
    @Schema(description = "商品分类名称")
    private String categoryName;
    @Schema(description = "品牌ID")
    private Long brandId;
    @Schema(description = "品牌名称")
    private String brandName;
    @Schema(description = "销量")
    private Integer sellCount;
    @Schema(description = "封面图URL")
    private String picUrl;
    @Schema(description = "商品详情内容")
    private String content;
    @Schema(description = "主图列表")
    private List<String> mainImages;
    @Schema(description = "详情图列表")
    private List<String> detailImages;
    @Schema(description = "商品状态 1:上架, 0:下架")
    private Integer status;
    @Schema(description = "创建时间")
    private String createTime;
}